package com.woniuxy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication
@EnableFeignClients(basePackages = "com.woniuxy.carlife.feign")
@EnableDiscoveryClient
@MapperScan("com.woniuxy.carlife.mapper")
@EnableScheduling //开启定时器
@EnableSwagger2  //开启swagger
public class CarlifeServiceprojectWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(CarlifeServiceprojectWebApplication.class, args);
    }

}
